package me.xiaoyan.android.tuition.utils;

public class TuitionException extends Exception {
	private static final long serialVersionUID = 1L;
	private int code;

	public int getErrorCode() {
		return code;
	}
	public TuitionException(String message) {
		super(message);
		this.code = CodeUtil.ERROR_DEFAULT;
	}
	public TuitionException(int code,String message) {
		super(message);
		this.code = code;
	}
	public TuitionException(int code,Throwable e) {
		super(e);
		this.code = code;
	}
}
